$(document).ready(function () {
  var $map = $("#contactMap");
  if(navigator.userAgent.indexOf("MSIE 7.0") > -1){
    $map.html("<img src='/gosport/understand/images/map.jpg' alt='' />");
    return;
  }
  window.map = new AMap.Map($map[0]);
  map.setZoom(17);
  map.setCenter([113.354778,23.111951]);

  AMap.event.addListener(map, "click", function(e){
  }); 

  AMap.plugin(['AMap.ToolBar','AMap.Scale','AMap.OverView'],
    function(){
        map.addControl(new AMap.ToolBar());

        map.addControl(new AMap.Scale());

        addControl(new AMap.OverView({isOpen:true}));
  }); 

  // var content =  ;

  var marker = new AMap.Marker({
        position: [113.354612,23.11167],
        draggable: false,
        cursor: 'auto',
        // Marker外观，可用DOM
        content:"<div style='width:0px;height:0px;position:relative'>"
                  +"<img src='../../index/images/location-red.png'/*tpa=http://www.quyundong.com/gosport/index/images/location-red.png*/ style='width:27px; height:36px; position: absolute;top: 0px; left: 0px;'>"
                  +"<div class='content-marker'><h2>广州柠蜜信息科技有限公司</h2><p>电话：4000-410-480</p><img src='../images/jiao.png'/*tpa=http://www.quyundong.com/gosport/understand/images/jiao.png*/ /></div>"
                +"</div>"
      });

  marker.setMap(map);
});